package com.yiibai.tutorial.javabasic.variable;
import java.io.*;
public class EmployeeTest {
		public static void main(String[] args ) {
			/*使用構造函數創建兩個對象*/
			Employee empOne = new Employee("Maxsu");
			Employee empTwo = new Employee("張小龍");
			
		   //為每個創建的對象調用方法
			empOne.empAge(26);
			empOne.setJobPosition("高級軟件工程師");
			empOne.empSalary(15999);
			empOne.printEmployee();
			
			empTwo.empAge(42);
			empTwo.setJobPosition("產品經理");
			empTwo.empSalary(999999);
			empTwo.printEmployee();
		}
}
